<template>
  <router-view />
</template>

<script setup>
import { onMounted } from 'vue'
import { useThemeStore } from '@/stores/theme'

// 初始化主题
onMounted(() => {
  const themeStore = useThemeStore()
  themeStore.initTheme()
})
</script>

<style scoped>
</style>

